home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 5 / Amiga Tools 5.iso / tools / developer-tools / aros / source / exec / devices / src / deleteiorequest.c < prev    next >
Encoding:
C/C++ Source or Header  |  1996-07-16  |  913 b   |  55 lines

  1. /*
  2.     (C) 1995, 96 AROS - The Amiga Replacement OS
  3.     $Id$
  4.     $Log$
  5.     Desc:
  6.     Lang: english
  7. */
  8. #include "exec_intern.h"
  9. #include <exec/io.h>
  10. #include <aros/libcall.h>
  11.  
  12. /*****************************************************************************
  13.  
  14.     NAME */
  15.     #include <clib/exec_protos.h>
  16.  
  17.     __AROS_LH1(void, DeleteIORequest,
  18.  
  19. /*  SYNOPSIS */
  20.     __AROS_LA(struct IORequest *, iorequest, A0),
  21.  
  22. /*  LOCATION */
  23.     struct ExecBase *, SysBase, 110, Exec)
  24.  
  25. /*  FUNCTION
  26.     Delete an I/O request created with CreateIORequest().
  27.  
  28.     INPUTS
  29.     iorequest - Pointer to I/O request structure or NULL.
  30.  
  31.     RESULT
  32.  
  33.     NOTES
  34.  
  35.     EXAMPLE
  36.  
  37.     BUGS
  38.  
  39.     SEE ALSO
  40.  
  41.     INTERNALS
  42.  
  43.     HISTORY
  44.  
  45. ******************************************************************************/
  46. {
  47.     __AROS_FUNC_INIT
  48.  
  49.     if(iorequest!=NULL)
  50.     /* Just free the memory */
  51.     FreeMem(iorequest,iorequest->io_Message.mn_Length);
  52.     __AROS_FUNC_EXIT
  53. }
  54.  
  55.